package com.bbx.workspace58_b2b_pic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("supply_order")
public class SupplyOrder extends Model<SupplyOrder> {


    private static final long serialVersionUID = 1L;

    @TableId(value = "supply_order_id", type = IdType.ASSIGN_ID)
    private String supplyOrderId;

    @TableField("supply_user_id")
    private String supplyUserId;

    @TableField("linker_id")
    private String linkerId;

    @TableField("link_order_id")
    private String linkOrderId;

    @TableField("recycler_id")
    private String recyclerId;

    @TableField("manufacturer_id")
    private String manufacturerId;

    @TableField("get_to_time")
    private Date getToTime;

    @TableField("pound_pic")
    private String poundPic;

    @TableField("headstock_pic")
    private String headstockPic;

    @TableField("car_pic")
    private String carPic;

    @TableField("tailstock_pic")
    private String tailstockPic;

    @TableField("quality_pic")
    private String qualityPic;


    @Override
    public Serializable pkVal() {
        return this.supplyOrderId;
    }


}
